<?php
include_once(dirname(__FILE__)."/../inc/common.php"); 
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>记账-设置</title>		
		
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />		
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	<link rel="shortcut icon" href="../images/favicon.ico" mce_href="../images/favicon.ico" type="image/x-icon">
	<script language="javascript">var ctx='';</script>
	<script type='text/javascript' src='../components/chart/swfobject.js'></script>
		<script language="JavaScript" src="../js/jquery-1.4.4.min.js" type="text/javascript"></script>

		<script language="JavaScript" type="text/javascript" src="../components/lghdialog/lhgdialog.min.js"></script>
	
	<link rel="stylesheet" href="../css/style.css?34234" type="text/css" media="screen, projection">
	
	<script language="JavaScript" src="../js/jquery.form.js" type="text/javascript"></script>      			
	
		
    <SCRIPT language="JavaScript" src="../js/dateSpan.js" type="text/javascript" ></SCRIPT>       
	


	<script language="JavaScript" src="../js/validation.js"	type="text/javascript"></script>
	<script language="JavaScript" src="../js/calc.js"	type="text/javascript"></script>
	<script language="JavaScript" src="../js/function.js"	type="text/javascript"></script>	
	<script language="JavaScript" src="../js/page.js"	type="text/javascript"></script>	
	<script language="JavaScript" type="text/javascript" src="../components/My97DatePicker/WdatePicker.js"></script>	 
	
	<script type="text/javascript" src="../js/ajaxupload.js"></script>
	<script type="text/javascript" src="../js/avatarupload.js"></script>
	<script type="text/javascript" src="../js/jquery.jeditable.mini.js"></script>
	
	<script language="JavaScript" src="../js/modules/global.js"	type="text/javascript"></script>
	<script language="JavaScript" src="../js/modules/tally.js"	type="text/javascript"></script>
	<script language="JavaScript" src="../js/modules/planning.js"	type="text/javascript"></script>
	<script language="JavaScript" src="../js/modules/report.js"	type="text/javascript"></script>
	<script language="JavaScript" src="../js/modules/setting.js"	type="text/javascript"></script>
	<script language="JavaScript" src="../js/modules/arap.js"	type="text/javascript"></script>
	<script language="JavaScript" src="../js/modules/invest.js"	type="text/javascript"></script>
	  
		<script language="JavaScript" src="../js/modules/main.js"	type="text/javascript"></script>
		
	</head>
	<body>
		<div class="container_wrapper">
			 	<div id="sys_loading"><img align="absmiddle" src='../images/common/loading2.gif'/> 数据加载中...</div>
				<div id="sys_popmsg"></div>		
				<div class="container">
					
					<div class="header">		

  
	     <!--begin: header部分 -->
		      <div class="logo"></div>
		      <div class="weather">
                
		      </div>
		      <div class="top_bar">
		          <div class="top_bar_content">	
					              
			         <ul>
				         <li class="user_name_left"></li>
                         <li class="user_name" title="用户名">
				         	欢迎您:<?php echo $userInfo["username"]?>
				         	<span class="gap">|</span>
				         </li>
						 
				         
				         <li class="quit_menu" onmouseover="CM.pullQuitMenu(this);" onmouseout="CM.pullQuitMenu(this);">
							<a href="../logout.php?returnUrl=">退出</a>
				         </li>
				         
				         
				         <li class="user_name_right"></li>
			         </ul>
					


			      </div>
		      </div>

	      
		      <div class="nav">
		          
		          <ul class="items">
		             <!--<li class=><a href="main/index.do"><span>首&nbsp;&nbsp;页</span></a></li>
		             -->
					 <li class=><a href="../index.php" ><span>记&nbsp;&nbsp;账</span></a></li>
					  <li><a href="/report" ><span>分&nbsp;&nbsp;析</span></a></li>
					 
					
		             <li id="header_setting" class=active><a href="index.php?subModule=Account"><span>设&nbsp;&nbsp;置</span></a></li>
				 </ul>
		          
		      </div>
		      
		     
		      <div class="sys_tool_bar">
		      	 	 <div class="info_left">
		 			   <ul>
		 			     <li class="date"><?php echo $now_date?>
					   	 </li>
		 			   </ul>
   					</div>
   
   				<div class="info_right" style="display:none;">
					   <span onmouseover="CM.pullDown(this);" onmouseout="CM.pullDown(this);" style="cursor: pointer;position: relative;"><img src="../images/icons/pifu.gif">
					   	换肤
				       <div id="quick_menu" class="quick_menu menu" style="top: 24px;left: 0px;">
				        
							<dt onclick="Skin.doChange('1','系统默认');">
							<img alt="" src="../images/default/eg.jpg" height="20px;" width="25px;">系统默认
							(当前皮肤)
							</dt>
						
							<dt onclick="Skin.doChange('2','橙色');">
							<img alt="" src="../images/orange/eg.jpg" height="20px;" width="25px;">橙色
							
							</dt>
						
							<dt onclick="Skin.doChange('3','灰色');">
							<img alt="" src="../images/gray/eg.jpg" height="20px;" width="25px;">灰色
							
							</dt>
						
						<dt class="center">点击即可应用该皮肤</dt>
						
	   					</div>
	   					<iframe src="" scrolling="no" style="width:170px;height:500px;display:none;position:absolute; z-index:19710; left: 132px;top: 22px;filter:alpha(opacity='0');">
						</iframe>
   					</span> 
			  </div>

		      	 
		      </div>
		 <!--end: header部分 -->

<script type="text/javascript">
<!--
	$(document).ready(function(){
		CM.initPullDown($('li.user_message'));

		Club.getUserMessage();

		
	});
//-->
</script>
         

		            </div>
		           
					<!-- end:header ---------------------------------------------->
					<!--begin:mbody---------------------------------------------->
					<div style="position: relative;">
					    <table id="mainframe" cellspacing="0" cellpadding="0">
					    <tr>
					    <td id="mleft" class="extend">
							<!--begin:tree---------------------------------------------->
							
							<div id="board">
						    	
    
  <div id="setting_base_board" class="box">
    <div class="head">
    	<ul><li>基本资料</li></ul>
    </div>
    <div class="body">
      <ul class="list">
       <li class="active"><img src="../images/common/dot1.gif">
       <a href="javascript:fGoto();" onclick="Board.removeActive();Tab.activeLi(this);Account.pg.params='';Account.list();"><span >账户管理</span></a></li>
       <li class=""><img src="../images/common/dot1.gif">
       <a href="javascript:fGoto();" onclick="Board.removeActive();Tab.activeLi(this);Category.list('3');"><span >收支类别</span></a></li>
       <li class=""><img src="../images/common/dot1.gif">
       <a href="javascript:fGoto();" onclick="Board.removeActive('setting_sys_board');Tab.activeLi(this);Tag.pg.params='';Tag.list();"><span>标签管理</span></a></li>
      </ul> 
     </div>

    
<div class="clear"></div>
  				    	
							</div>
							
							<!-- end:tree ---------------------------------------------->			    
					    </td>
					    <td id="mbar">
					        <div id="barimg" style="cursor:pointer;" class="barimg_left">
					        	<img src="../images/default/bar_left.gif">
					        </div>
					    </td>
					    <td id="mright">
							<!--begin:main -->
							<!-- 验证信息提示 -->
							<div class="validate" id="validate" style="display: none;">
								<div class="validate_tip_wrapper">
									<span class="title">验证提示:</span>
									<span class="validate_content"></span>
								</div>
							</div>
							<div class="tip_wrapper" style="display:none">
								<a class="colse_btn" onclick="Help.goClose();" href="#" align="absmiddle"><img src="../images/icons/icon_close.gif"></a>
								<span class="title">提示:</span>
								<span class="tip_content"></span>
							</div>
							
							<div id="main">
							
							</div>
							<!--end:main -->			    
					    </td>
					    </tr>
					    </table>			
					</div>
				    <!--end:mbody ---------------------------------------------->
				    
		            <!-- begin:footer ---------------------------------------------->         
		            <div class="footer">
		            	
    <div class="footer_content">
		<span class="corp_info">(适合分辨率1024*768以上) </span>
</div>
    <div class="clear"></div>
	
		            </div>
		            <!-- end:footer ----------------------------------------------> 
				</div>
	</div>
	</body>
</html>

<SCRIPT LANGUAGE="JavaScript">
<!--
$(document).ready(function(){
       CM.init();  //全局初始化
       var not_init='';  
       if (not_init=='1'){
           Init.goInit(); //账本不存在，初始化账本
       }else{
			Validate.loadValidateInfo();
			doPrepare();
			//CM.loadToolBar();
			//每隔15分钟取一次系统广播.兼作session保持机制.
	   		window.setInterval("Message.getBroadcast();",1000*60*15);  //每隔15分钟取一次系统广播.兼作session保持机制.
	   		//Message.getBroadcast();
 	   }
       
});
 
//-->
</SCRIPT>

           

<SCRIPT LANGUAGE="JavaScript">

function doPrepare(){
	var argmt='';
	if(argmt==null || argmt==''){
		Setting.init(Account);
	}else{	
    	Setting.init(Account,'');
	}
}

</SCRIPT>
